package top.whysu.edevice.dto.ezviz.child;

import top.whysu.edevice.dto.ezviz.policy.EzvizPolicy;

/**
 * 设置子账户的授权策略
 */
public class ChildSetPolicyDTO {
    /**
     * 授权过程获取的access_token
     */
    private String accessToken;
    /**
     * 子账户Id
     */
    private String accountId;
    /**
     * 授权策略(内容是 {@link EzvizPolicy}的字符串形式)
     */
    private String policy;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }
}
